<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>金字塔</title>
	</head>
	<body>
		<script type="text/javascript">
			document.write("<h1 style='text-align: center;'>打印倒正金字塔直线</h1>")
			
			var w=250;
//			document.write("<hr size='10' color='aqua' width='"+w+"'+'px'/>");
			for(var i=7;i>0;i--){
				w-=30;
				document.write("<hr color='aqua' size='10' width='"+w+"'px'/>");
			}
			for(var i=0;i<7;i++){
				w+=30;
				document.write("<hr color='aqua' size='10' width='"+w+"'px'/>");
			}
		</script>
	</body>
</html>
